package com.ryder.petmatediarybackend.module.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 描述：用户查询 DTO
 *
 * @author Ryder
 * @version 1.0
 * @since 1.0
 * 更新日期: 2025-10-31
 */
@Data
@Schema(description = "用户查询DTO")
public class UserQueryDTO {

    @Schema(description = "用户名（模糊查询）")
    private String username;

    @Schema(description = "昵称（模糊查询）")
    private String nickname;

    @Schema(description = "状态：1=启用 0=禁用")
    private Integer status;

    @Schema(description = "角色编码（精确查询，如：ROLE_PET_OWNER）")
    private String roleCode;

    @Schema(description = "当前页码", example = "1")
    private Integer current = 1;

    @Schema(description = "每页数量", example = "10")
    private Integer size = 10;
}

